package com.ylr.user.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2023-03-30 16:44:48
 * className: UserContactFlowEntity 用户联系方式记录表实体类
 * version: 1.0
 * description:
 * 	用户联系方式记录表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yu_user_contact_flow")
public class UserContactFlowEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;

	/**
	 * 用户主键
	 */
	private Long userId;

	/**
	 * 类型[0-手机号 1-邮箱号]
	 */
	private Integer type;

	/**
	 * 方式[0-绑定 1-解绑]
	 */
	private Integer mode;

	/**
	 * 值
	 */
	private String contact;

	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteStatus;

	/**
	 * 删除时间
	 */
	private Date deleteTime;

	/**
	 * 删除用户主键
	 */
	private Long deleteUserId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 创建用户
	 */
	private String createUser;

	/**
	 * 创建用户主键
	 */
	private Long createUserId;

}
